package com.siysoft.tc.base.bean.to;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * The persistent class for the db_order database table.
 * 
 */
@Entity
@Table(name="db_order")
public class Order implements Serializable {
	private static final long serialVersionUID = 1L;
	private int order_id;
	private int reservation_id;
	private int user_id;
	private double order_price;
	private Timestamp order_cdate;
	private Timestamp order_udate;
	private String order_title;
	private Integer order_status;
	private Integer order_type;
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="order_id")
	public int getOrder_id() {
		return order_id;
	}
	public void setOrder_id(int order_id) {
		this.order_id = order_id;
	}
	
	@Column(name="reservation_id")
	public int getReservation_id() {
		return reservation_id;
	}
	public void setReservation_id(int reservation_id) {
		this.reservation_id = reservation_id;
	}
	
	@Column(name="user_id")
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	
	@Column(name="order_price")
	public double getOrder_price() {
		return order_price;
	}
	public void setOrder_price(double order_price) {
		this.order_price = order_price;
	}
	
	@Column(name="order_cdate")
	public Timestamp getOrder_cdate() {
		return order_cdate;
	}
	public void setOrder_cdate(Timestamp order_cdate) {
		this.order_cdate = order_cdate;
	}
	
	@Column(name="order_udate")
	public Timestamp getOrder_udate() {
		return order_udate;
	}
	public void setOrder_udate(Timestamp order_udate) {
		this.order_udate = order_udate;
	}
	
	@Column(name="order_title")
	public String getOrder_title() {
		return order_title;
	}
	public void setOrder_title(String order_title) {
		this.order_title = order_title;
	}
	
	@Column(name="order_status")
	public Integer getOrder_status() {
		return order_status;
	}
	public void setOrder_status(Integer order_status) {
		this.order_status = order_status;
	}
	
	@Column(name="order_type")
	public Integer getOrder_type() {
		return order_type;
	}
	public void setOrder_type(Integer order_type) {
		this.order_type = order_type;
	}

}